package com.owulia.leetcode.tree;

import java.util.ArrayList;
import java.util.List;

/**
 * Definition for a binary tree node.
 * public class TreeNode {
 *     int val;
 *     TreeNode left;
 *     TreeNode right;
 *     TreeNode(int x) { val = x; }
 * }
 */
public class Codec {

    // Encodes a tree to a single string.
    public String serialize(TreeNode root) {
        List<TreeNode> list = new ArrayList<>();
        TreeNode temp = root;
        /*while (temp.){

        }*/
        return list.toString();
    }

    // Decodes your encoded data to tree.
    /*public TreeNode deserialize(String data) {

    }*/
}

